package com.hkts.naturalgas.alarminformation.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author yck
 * @since 2020-09-11
 */
public class NaturalgasAlarmin extends Model<NaturalgasAlarmin> {

    private static final long serialVersionUID = 1L;

    private String id;
    private LocalDateTime createTime;
    private LocalDateTime endeTime;
    private String equipmentId;
    private String grade;
    private String stationId;
    private String alarminInfo;
    public  void setAlarminInfo(String alarminInfo){
        this.alarminInfo=alarminInfo;
    };
    public  String getAlarminInfo(){
        return alarminInfo;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getEndeTime() {
        return endeTime;
    }

    public void setEndeTime(LocalDateTime endeTime) {
        this.endeTime = endeTime;
    }

    public String getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getStationId() {
        return stationId;
    }

    public void setStationId(String stationId) {
        this.stationId = stationId;
    }

    public static final String ID = "id";

    public static final String CREATE_TIME = "create_time";

    public static final String ENDE_TIME = "ende_time";

    public static final String EQUIPMENT_ID = "equipment_id";

    public static final String GRADE = "grade";

    public static final String STATION_ID = "station_id";

    public static final String ALARMIN_INFO="alarmin_info";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "NaturalgasAlarmin{" +
                ", id=" + id +
                ", createTime=" + createTime +
                ", endeTime=" + endeTime +
                ", equipmentId=" + equipmentId +
                ", grade=" + grade +
                ", stationId=" + stationId +
                "}";
    }
}
